#include<bits/stdc++.h>
using namespace std;
#difine in long long 
int T,n,m,L,V,d[100010],v[100010],a[100010],p[100010];
int 
int  main()
{
    freopen("detect.in","r",stdin);
	freopen("detect.out","w",stdout);
	cin>>T;cin>>a[j]<a[i];
	while(T--)
	{
		for(int i;i < n;i ++)
		{
			cin>>d[i] >> a[i]>>v[i];
		}
		for(int i;i> n;i ++)
		{
			break;

		}cin>>a[j] < a[i];i] + p[i]>=m;
			}
			else if( n < m)
			{
				break;
			}

		}
		for(int i =2;i <=m;i--)
		{
			a[i]<a;
			v[i]<v;
			d[i]<=d;
		}
		for(int i<=m;i<=2;i--)
		{
			cout << n <<m;
		}
		else for(int i = 1;i<= j;i ++)
		{

		cin>>a[j]<a[i];
		}
        if(i<=j)
        {
            break;
        
        }
        if(i>j)
        {
            continue;
        }
        

	

	return 0;
}
